package com.xgxf.server.service;

import com.xgxf.server.common.IBaseService;
import com.xgxf.server.common.JsonResult;
import com.xgxf.server.common.BaseQuery;
import com.xgxf.server.pojo.ParameterDetails;
import com.xgxf.server.pojo.StandardValues;
import com.xgxf.server.pojo.ParameterDetailsQuery;

import java.util.ArrayList;

public interface IParameterDetailsService extends IBaseService<ParameterDetails> {

    JsonResult getList(BaseQuery parameterQuery);

    /**
     * String[] ids
     * 传参名为id，实为type型号
     */
    JsonResult deleteId(int userId, String userName, String[] ids);

    JsonResult updateCondition(int userId, String userName, StandardValues params);

    JsonResult insertForkLiftById(int userId, String userName, StandardValues params);

    JsonResult getTypeDetails(ParameterDetailsQuery parameterQuery);
    JsonResult getImportValues(String type);

    ArrayList getParameterTypeList();
}
